+Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
+ Iterate through children of the action area, not of
+ the vbox. (#58278, Sergey Kuzminov)
+
2001-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
Control, and Shift|Control L<->R, #63475
+>>>>>>> 1.2518
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
+Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
+ Iterate through children of the action area, not of
+ the vbox. (#58278, Sergey Kuzminov)
+
2001-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
Control, and Shift|Control L<->R, #63475
+>>>>>>> 1.2518
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
+Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
+ Iterate through children of the action area, not of
+ the vbox. (#58278, Sergey Kuzminov)
+
2001-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
Control, and Shift|Control L<->R, #63475
+>>>>>>> 1.2518
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
+Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
+ Iterate through children of the action area, not of
+ the vbox. (#58278, Sergey Kuzminov)
+
2001-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
Control, and Shift|Control L<->R, #63475
+>>>>>>> 1.2518
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
+Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
+ Iterate through children of the action area, not of
+ the vbox. (#58278, Sergey Kuzminov)
+
2001-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
Control, and Shift|Control L<->R, #63475
+>>>>>>> 1.2518
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
+Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
+ Iterate through children of the action area, not of
+ the vbox. (#58278, Sergey Kuzminov)
+
2001-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
Control, and Shift|Control L<->R, #63475
+>>>>>>> 1.2518
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
+Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
+ Iterate through children of the action area, not of
+ the vbox. (#58278, Sergey Kuzminov)
+
2001-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
Control, and Shift|Control L<->R, #63475
+>>>>>>> 1.2518
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
va_end (args);
}
+static GtkWidget *
+find_child_by_response_id (GtkDialog *dialog,
+ gint response id)
+{
+ GList *children;
+ GList *tmp_list;
+ GtkWidget *result = NULL:
+
+ children = gtk_container_get_children (GTK_CONTAINER (dialog->action_area));
+
+ tmp_list = children;
+ while (tmp_list != NULL)
+ {
+ GtkWidget *widget = tmp_list->data;
+ ResponseData *rd = g_object_get_data (G_OBJECT (widget),
+ "gtk-dialog-response-data");
+
+ if (rd && rd->response_id == response_id)
+ {
+ result = widget;
+ gtk_widget_set_sensitive (widget, setting);
+
+ tmp_list = g_list_next (tmp_list);
+ }
+
+ g_list_free (children);
+}
+
/**
* gtk_dialog_set_response_sensitive:
* @dialog: a #GtkDialog
GList *children;
GList *tmp_list;
- children = gtk_container_get_children (GTK_CONTAINER (dialog));
+ children = gtk_container_get_children (GTK_CONTAINER (dialog->action_area));
tmp_list = children;
while (tmp_list != NULL)